<script>

submitCheckingForm = function(form) {
	loadata('result', form.action);	
}

</script>

<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('offering')} > ${i18n.getMessage('studentAttendance')}">
	<a href="#" onclick="cc('offering/showInfoOffering.sgt?id=${offering.id}')">${i18n.getMessage('offering')}</a>
</@showTitle>

<div id="error" style="display:none"></div>

<form action="study/showResultCheckingAttendance.sgt" validator="study/validateCheckingAttendance.sgt" onsubmit="submitFormValidation0(this, submitCheckingForm); return false;" onreset="$('error').hide()">
	<input type="hidden" name="offeringId" value="${offering.id}"/>
	
	<table id="dataTable" cellspacing="5" cellpadding="0" align="center">
		<tr>
			<td class="name">${i18n.getMessage('date')}:</td>
			<td><input type="text" name="date" style="width:200px"/><img class="calendarImg" src="images/calendar/calendar.gif" onclick="displayCalendar(document.forms[0].date, '${i18n.getMessage('format.date')}', this)"/></td> 
		</tr>
		<tr>
			<td class="name"></td>
			<td><input type="submit" value="${i18n.getMessage('search')}" class="button_style"/></td> 
		</tr>
	</table>
</form>

<br/>

<div id="result"></div>